package qq;

import java.io.Serializable;

/**
 * 一个用户信息
 */
public class User implements Serializable {

    private int id;
    private String password;

    public User(int id, String password) {
        this.id = id;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return id + " " + password;
    }
}
